﻿//=====================================================================================================
// LocalizationLibrary
// The Localization Library is a collection of reusable software components that provide 
// support for localization. This library enables you to localize WPF, Silverlight and WP7 applications.
// (http://localizationlibrary.codeplex.com)
//=====================================================================================================
// Author: Nicola Gallo (Website: www.nicola.gallo.name, Email: nicolagmt@hotmail.it) 
//=====================================================================================================

namespace LocalizationLibrary.Tests.LocalizationModels
{
    //.NET References
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    //LocalizationLibrary References
    using LocalizationLibrary;
    using LocalizationLibrary.Attributes;

    /// <summary>
    /// Defines the account localization model.
    /// </summary>
    public class AccountLM : LocalizationModel
    {
        //Properties

        /// <summary>
        /// Gets account's id.
        /// </summary>
        public String ID { get; set; }

        /// <summary>
        /// Gets/Sets
        /// </summary>
        [LocalizeDynamically(LocalizationKey.NameResource)]
        [LocalizeDynamically(Language = "en", Value = "Name")]
        public String Name { get; set; }

        /// <summary>
        /// Gets/Sets surename.
        /// </summary>
        [LocalizeDynamically(LocalizationKey.SurenameResource)]
        [LocalizeDynamically(Language = "en", Value = "Surename")]
        public String Surename { get; set; }

        /// <summary>
        /// Gets/Sets email.
        /// </summary>
        [LocalizeDynamically(LocalizationKey.EmailResource)]
        [LocalizeDynamically(Language = "en", Value = "Email")]
        public String Email { get; set; }

        /// <summary>
        /// Gets/Sets Password.
        /// </summary>
        [LocalizeDynamically(LocalizationKey.PasswordResource)]
        [LocalizeDynamically(Language = "en", Value = "Password")]
        public String Password { get; set; }
    }
}
